unwrap Subroutine

public subroutine unwrap(x, tol)

Shifts phase angle arrays to deal with jumps greater than or equal to tol by adding multiples of until the jump is less than tol.

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(inout) :: x(:)

On input, the phase array. On output, the unwrapped phase array.

real(kind=real64), intent(in), optional :: tol

The tolerance value.